package com.ruoyi.system.test;

import com.ruoyi.system.domain.SysUser;
import com.ruoyi.system.service.impl.SysUserServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;

import java.util.List;

public class test {
    @Autowired
    private static SysUserServiceImpl sysUserService;

    public static List<SysUser> selectUserByRoleID(long roleId){
        List<SysUser> sysUsers = sysUserService.selectUserByRoleID(12);
        return sysUsers;
    };
    public static void main(String[] args) {
        System.out.println(sysUserService.selectUserByLoginName("若依"));
    }
}
